<html>

    <wicket:head>
        <title>Medieval Cities - Recruit Units</title>
        <wicket:link>
            <link rel="stylesheet" type="text/css" href="../style.css"/>
        </wicket:link>
    </wicket:head>

    <body>
        <div id="wrapper">
            <h1>Medieval Cities</h1>

            <div id="header">
                <div id="linkPanel" align="center" wicket:id="linkPanel"></div>
            </div>
            <div id="text">
                <h1>Recruit units to <span wicket:id="cityName"></span></h1>
                <form wicket:id="form">
                    <p>                
                        <label>Select City:</label> 
                        <select wicket:id="city"></select>
                        <input type="submit" value="Select" />
                    </p>
                </form>
                <div wicket:id="feedback"></div>

                <span wicket:id="listview">
                    <table id="tableSpecial" width=90%>
                        <tr>
                            <th>Name</th>
                            <th>Health</th>
                            <th>Attack</th>
                            <th>Defense</th> 
                            <th>Damage</th>
                            <th>Armor</th> 
                            <th>Initiative</th>
                        </tr>

                        <tr>
                            <td><span wicket:id="name">Name</span></td>                          
                            <td><span wicket:id="health">Health</span></td>
                            <td><span wicket:id="attack">Attack</span></td>                          
                            <td><span wicket:id="defense">Defense</span></td>
                            <td><span wicket:id="damage">Damage</span></td>                          
                            <td><span wicket:id="armor">Armor</span></td>
                            <td><span wicket:id="initiative">Initiative</span></td>                          

                        </tr>

                        <tr>

                            <th>Speed</th>
                            <th>Carry</th>
                            <th>Needed equipment</th>
                            <th>Barracks level</th>
                            <th>Price</th>                          
                            <th colspan="2">Hire</th>                                              

                           </tr>

                        <tr>

                            <td><span wicket:id="speed">Speed</span></td>
                            <td><span wicket:id="carry">Carry</span></td>                          
                            <td><span wicket:id="neededEquipment">Needed equipment</span></td>
                             <td><span wicket:id="level">Barracks level</span></td>
                            <td><span wicket:id="price">Price</span></td>
                            <td colspan="2"><form wicket:id="hire">
                                    <input align="left" wicket:id="count" type="text" size="3"/>
                                    <input align="right" type="submit" value="Hire" />
                                </form>
                            </td>

                        </tr>
                    </table>
                    <br>
                </span>


            </div>
            Jakub Kutil, 2014
        </div>
    </body>
</html>

